package com.itheima.edu.info.test;

public class test11 {
    public static void main(String[] args) {
        //计算性能 System.currentTimeMillis 获取时间戳
        //将来可能用到 记录时间戳用来解决时区问题

        long start = System.currentTimeMillis();

        for (int i = 0; i < 1000000; i++) {
            System.out.println(i);
        }

        long end = System.currentTimeMillis();

        System.out.println(end-start);
    }
}
